﻿@model IEnumerable<Leikjavefurinn.Context.TicTacToeGame>

@{
    ViewBag.Title = "Gleðiland";
}
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span8">
            <div class="jumbotron">
                <h1>Velkomin(n) til Gleðilands</h1>
                <p class="lead">
                    Gleðiland er leikjasíða með framandi og skemmtilegum leikjum. Smelltu á myndina á leiknum sem þú vilt spila hér að neðan og þá getur fjörið hafist.
                </p>
                @if (User.Identity.Name == null)
                {
                    <a class="btn btn-large btn-success" href="#">Innskráðu þig!</a>
                }
            </div>

            <hr>

            <div class="row-fluid">
                <ul class="thumbnails">
                    <li class="span4">
                        <div class="thumbnail">
                            <a href="http://localhost:3136/TTT/About">
                                <img src="http://www.heatonresearch.com/images/article/1604390093/1604390093c6f3.jpg" width="400" height="200" alt="mylla" /></a>
                            <div class="caption">
                                <h3>Mylla</h3>
                                <p>Mylla er skemmilegur leikur fyrir alla</p>
                                <p>
                                    <a>@Html.ActionLink("Nánar", "About", "TTT")</a>
                                </p>
                            </div>
                        </div>
                    </li>
                    <li class="span4">
                        <div class="thumbnail">
                            <a href="http://uk.letsplayapples.com/">
                                <img src="http://4.bp.blogspot.com/-CwfhIybcTNU/UFjanUv3GNI/AAAAAAAAGj8/ggI1bEsq-4Q/s1600/apples-logo-tm.jpg" width="400" height="200" alt="apple" /></a>
                            <div class="caption">
                                <h3>Apples to Apples</h3>
                                <p>Apples to Apples er skemmilegur leikur fyrir alla</p>
                                <p>
                                    <a>@Html.ActionLink("Nánar", "Index", "Home")</a>
                                </p>
                            </div>
                        </div>
                    </li>

                    <li class="span4">
                        <div class="thumbnail">
                            <a href="http://www.leikjanet.is/?gluggi=leikir_spila&leikur=158">
                                <img src="http://absolutist.com/palm/bubbles2/gamehelp/003.gif" width="400" height="200" alt="bubbles" /></a>
                            <div class="caption">
                                <h3>Bubbles</h3>
                                <p>Þessi klassíski spilakassaleikur er einn sá skemmtilegasti og mest ávanabindandi af þeim öllum</p>
                                <p>
                                    <a>@Html.ActionLink("Nánar", "Index", "Home")</a>
                                </p>
                            </div>
                        </div>
                    </li>

                </ul>
            </div>
        </div>

        <div class="span4">
            <div class="row-fluid">
                <div>
                    <div id="scoreFront">
                        <script>
                            $('#scoreFront').load('Scoreboard/SBFeed #scoreBoard');
                        </script>
                    </div>
                </div>
                <br>

                <div>
                    <div id="gameFront">
                        <script>
                            $('#gameFront').load('ActiveGame/AGFeed #activeGames');
                        </script>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<hr>
